<template>
  <div class="home">
    <div @click="clickHandler">click me</div>
    {{ this.dog }}
  </div>
</template>

<script>
export default {
  name: 'Home',
  data: () => {
    return {
      o: 'object',
      dog: {
        a: 1
      }
    }
  },
  methods: {
    clickHandler () {
      console.log(11)
      this.$set(this.dog, 'name', 'Trump')
    }
  }
}
</script>
